{% extends "index.html" %}


{% block title %}设计个人信息{% endblock %}

{% block css %}{% endblock %}

{% block body %}
<h1>正在设置您的个人信息</h1>
{% endblock %}

{% block js %}
<script>
    const params = BloodSpiderFunction_getUrlParams(window.location.href);
    
    const user_info = BloodSpiderFunction_base64Handler(params.params.user_info, true)
    
    // 设置用户信息到本地
    localStorage.setItem("user_info", user_info);

    document.querySelector("h1").textContent = `Hi~ ${user_info.user_name}, 正在跳转分类页`;

    setTimeout(() => {
        window.location.href = `/web/pc/category/`;
    }, 1000);
</script>
{% endblock %}




